package com.example.lncd;

import android.app.Application;

import com.tencent.tencentmap.mapsdk.maps.TencentMapInitializer;
import com.tencent.map.geolocation.TencentLocationManager;

public class LNCDApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        
        // 初始化腾讯地图SDK的隐私合规接口
        TencentMapInitializer.setAgreePrivacy(true);
        
        // 初始化定位SDK
        TencentLocationManager.setUserAgreePrivacy(true);
    }
} 